package Aula8;

public class Vertice {
	
	private int id;
	private double dist;
	private boolean known;
	
	public Vertice(int id){
		this.id = id;
		dist = Double.POSITIVE_INFINITY;
		known = false;
	}
	
	public int getId(){
		return id;
	}
	
	public boolean isKnown(){
		return known;
	}
	
	public void activeKnown(){
		known = true;
	}

	public Double getDist() {
		return dist;
	}

	public void setDist(Double dist) {
		this.dist = dist;
	}
	
}
